<%= index_field_wrapper(**field_wrapper_args, flush: true) do %>
  <%= render Avo::Fields::Common::GravatarViewerComponent.new(
    md5: @field.md5,
    default: @field.default,
    size: @field.size,
    rounded: @field.rounded,
    link_to_record: @field.link_to_record,
    link: resource_view_path,
    title: t('avo.view_item', item: @resource.name).humanize
  )
  %>
<% end %>
